package com.rmfyzxfw.caseprocess.model.cmd;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 字段表
 * @TableName t_data_field
 */
@Data
public class ProcessCmd {
    @ApiModelProperty(value ="流程名称")
    @NotBlank(message = "流程名称不能为空")
    private String processName;

    @NotBlank(message = "法院id不能为空")
    @ApiModelProperty(value ="法院id")
    private String courtId;

    @ApiModelProperty(value ="案件类型  财产保全 金钱给付等")
    @NotBlank(message = "案件类型不能为空")
    private String caseType;

    @ApiModelProperty(value ="数据源类型  1执行  2审判")
    @NotNull(message = "数据源类型")
    private Integer dataSourceType;

    @ApiModelProperty(value ="流程描述")
    private String description;

}